﻿#pragma once

#include "ui_BuckMain.h"
#include <QtWidgets/QWidget>

QT_BEGIN_NAMESPACE
namespace Ui {
class BuckMainClass;
};
QT_END_NAMESPACE
class LoginDialog;
class BuckMain : public QWidget
{
    Q_OBJECT

public:
    BuckMain(QWidget* parent = nullptr);
    ~BuckMain();
    void showLoginDialog();
private slots:
    void onButtonClicked(const QString& text);

private:
    Ui::BuckMainClass* ui            = nullptr;
    LoginDialog*       m_loginDialog = nullptr;
};
